#pragma once

#ifndef ROOTDIR
#define ROOTDIR "www"
#endif

#include "ws.client.h"

#include <fstream>
#include <string>

namespace TOB {
  namespace WS {
    
    class FileExeption {
    public:
      FileExeption(std::string error);
    };
    
    class File {
    private:
      TOB::WS::Data _data;
    public:
      File(std::string path);
      ~File();
      Data& getData();
    };
  }
}
